package com.sky.service;

import com.sky.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.time.LocalDate;

public interface ReportService {
    //销售额统计
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    //用户统计
    UserReportVO userStatistic(LocalDate begin, LocalDate end);

    //订单统计
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    //销量top10
    SalesTop10ReportVO topStatistics(LocalDate begin, LocalDate end);
    //导出excel文件
    void export(HttpServletResponse response) throws IOException;
}
